//
// Created by hjie on 23-7-23.
//
#include <iostream>
#include <string>
#include <cstring>
#include "aac_parser.h"
#include "aac_frame.h"

int main(int argc, const char * argv[])
{
    const std::string filename = "./../../resource/sample3.aac";
    AACParser parser(filename);
    if (parser.OpenFile())
    {
        parser.ParseData();
    }
    else
    {
        printf("open file failed.\n");
    }
    return EXIT_SUCCESS;
}